package com.joplus.housekeeper.bean;

/**
 *余额详情页面接口model
 *author wutingxi
 *time 2016/9/2 10:36
 */
public class BalanceDetail {

    public  static final String TYPE_SHOP="1";
    public  static final String TYPE_ON_BELOW_LINE="2";
    public  static final String TYPE_EXCHANGE="3";
    public  static final String TYPE_ONLINE_ONLY="4";
    public  static final String TYPE_MANUAL_CHANGE="5";//2017-2-17添加后台手动修改类型
    /**
     * code : 2000
     * data : {"balanceDetail":{"accountId":"acc1466044931968Q8YB","paidMoney":-1,"orderNo":"CLUBMW201705250427149580","paidDate":"2017-05-25 16:46:33","orderMoney":20002,"name":"订单消费","deposit":null,"buyWay":"储值卡消费","paymentDate":"2017-05-25 17:18:14","type":"1","orderDate":"2017-05-25 16:46:33"}}
     * message : 获取成功
     */

    private String code;
    /**
     * balanceDetail : {"accountId":"acc1466044931968Q8YB","paidMoney":-1,"orderNo":"CLUBMW201705250427149580","paidDate":"2017-05-25 16:46:33","orderMoney":20002,"name":"订单消费","deposit":null,"buyWay":"储值卡消费","paymentDate":"2017-05-25 17:18:14","type":"1","orderDate":"2017-05-25 16:46:33"}
     */

    private DataBean data;
    private String message;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        /**
         * accountId : acc1466044931968Q8YB
         * paidMoney : -1
         * orderNo : CLUBMW201705250427149580
         * paidDate : 2017-05-25 16:46:33
         * orderMoney : 20002
         * name : 订单消费
         * deposit : null
         * buyWay : 储值卡消费
         * paymentDate : 2017-05-25 17:18:14
         * type : 1
         * orderDate : 2017-05-25 16:46:33
         */

        private BalanceDetailBean balanceDetail;

        public BalanceDetailBean getBalanceDetail() {
            return balanceDetail;
        }

        public void setBalanceDetail(BalanceDetailBean balanceDetail) {
            this.balanceDetail = balanceDetail;
        }

        public static class BalanceDetailBean {
            private String paymentBuyWay;//线下支付方式
            private String payment;//线下支付金额
            private String couponMoney;//兑换金额
            private String date;//到帐时间
            private String pricingType;
            private String bagCurrency;
            private String accountId;
            private String paidMoney;
            private String orderNo;
            private String paidDate;
            private String orderMoney;
            private String name;
            private String deposit;
            private String buyWay;
            private String paymentDate;
            private String type;
            private String orderDate;
            private String money;

            public String getMoney() {
                return money;
            }

            public void setMoney(String money) {
                this.money = money;
            }

            public String getPaymentBuyWay() {
                return paymentBuyWay;
            }

            public void setPaymentBuyWay(String paymentBuyWay) {
                this.paymentBuyWay = paymentBuyWay;
            }

            public String getPayment() {
                return payment;
            }

            public void setPayment(String payment) {
                this.payment = payment;
            }

            public String getCouponMoney() {
                return couponMoney;
            }

            public void setCouponMoney(String couponMoney) {
                this.couponMoney = couponMoney;
            }

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getPricingType() {
                return pricingType;
            }

            public void setPricingType(String pricingType) {
                this.pricingType = pricingType;
            }

            public String getBagCurrency() {
                return bagCurrency;
            }

            public void setBagCurrency(String bagCurrency) {
                this.bagCurrency = bagCurrency;
            }

            public String getAccountId() {
                return accountId;
            }

            public void setAccountId(String accountId) {
                this.accountId = accountId;
            }

            public String getPaidMoney() {
                return paidMoney;
            }

            public void setPaidMoney(String paidMoney) {
                this.paidMoney = paidMoney;
            }

            public String getOrderNo() {
                return orderNo;
            }

            public void setOrderNo(String orderNo) {
                this.orderNo = orderNo;
            }

            public String getPaidDate() {
                return paidDate;
            }

            public void setPaidDate(String paidDate) {
                this.paidDate = paidDate;
            }

            public String getOrderMoney() {
                return orderMoney;
            }

            public void setOrderMoney(String orderMoney) {
                this.orderMoney = orderMoney;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getDeposit() {
                return deposit;
            }

            public void setDeposit(String deposit) {
                this.deposit = deposit;
            }

            public String getBuyWay() {
                return buyWay;
            }

            public void setBuyWay(String buyWay) {
                this.buyWay = buyWay;
            }

            public String getPaymentDate() {
                return paymentDate;
            }

            public void setPaymentDate(String paymentDate) {
                this.paymentDate = paymentDate;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getOrderDate() {
                return orderDate;
            }

            public void setOrderDate(String orderDate) {
                this.orderDate = orderDate;
            }
        }
    }
}
